package routes

import (
	"gitee.com/song-yao-shun/MQH/controller"
	"gitee.com/song-yao-shun/MQH/middleware"
	"github.com/gin-gonic/gin"
)

func UserRoutes(r *gin.Engine){
	user := r.Group("/api/user",middleware.AuthMiddleware())
	{
		user.GET("/info",controller.UserInfo)
	}
}